//
//  HRRecordBottomView.h
//  Hear
//
//  Created by mac on 2017/7/4.
//  Copyright © 2017年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HRRecodBottomDelegate <NSObject>

-(void)didFinishRecoingVoiceActionFromRecordBottomView:(NSString *)recordPath andDuration:(NSInteger)aDuration;
- (void)didStartRecordingVoiceActionFromRecordBottomView;

- (void)didCancelRecordingVoiceActionFromRecordBottomView;
@end
@interface HRRecordBottomView : UIView
@property (nonatomic, weak) id <HRRecodBottomDelegate> delegate;


@property (nonatomic,strong) UIButton *centerImaegView;
-(void)startAnima;
-(void)stopAnima;

@property(nonatomic, strong)UIButton *leftButton;
@property(nonatomic, strong)UIButton *rightButton;
// 录音按钮按下
-(void)recordButtonTouchDown;
// 手指在录音按钮内部时离开
-(void)recordButtonTouchUpInside;
// 手指在录音按钮外部时离开
-(void)recordButtonTouchUpOutside;
// 手指移动到录音按钮内部
-(void)recordButtonDragInside;
// 手指移动到录音按钮外部
-(void)recordButtonDragOutside;

@end

